<template>
    <div class="banner">
        <van-image :src="img[0]" class="bg"/>
    </div>
</template>

<script>
    export default {
        name: "TopBanner",
        data(){
            return{
                img : [
                    require("@img/treasureTop.png")
                ],
            }
        }
    }
</script>

<style lang="scss" scoped>
    .banner{
        position: absolute;
        width: 100%;
        top: 0;
        z-index: 0;
    }
</style>